package media
{
	[Bindable]
	[RemoteClass(alias="com.serverplic.media.Picture")]
	public class MediaPicture
	{
		private var mID:int;
		private var mName:String;
		private var mTitle:String;
		private var mDescription:String;
		private var mImagePath:String;
		private var mPoint:MediaPoint;
		
		public function get id():int
		{
			return mID;
		}
		public function set id(_id:int):void
		{
			mID = _id;
		}
		
		public function get name():String
		{
			return mName;
		}
		public function set name(_name:String):void
		{
			mName = _name;
		}
		
		public function get title():String
		{
			return mTitle;
		}
		public function set title(_title:String):void
		{
			mTitle = _title;
		}
		
		public function get description():String
		{
			return mDescription;
		}
		public function set description(_description:String):void
		{
			mDescription = _description;
		}
		
		public function get imagePath():String
		{
			return mImagePath;
		}
		public function set imagePath(_imagePath:String):void
		{
			mImagePath = _imagePath;
		}
		
		public function get point():MediaPoint
		{
			return mPoint;
		}
		public function set point(_point:MediaPoint):void
		{
			mPoint = _point;
		}
		
		public function toString():String
		{
			var txt:String = "Picture\n";
			txt += "ID : " + mID + "\n";
			txt += "Name : " + mName + "\n";
			txt += "Title : " + title + "\n";
			txt += "Description : " + mDescription + "\n";
			txt += "Image Path : " + mImagePath + "\n";
			txt += "Parent Point name : " + mPoint.name + "\n";
			return txt;
		}
	}
}